package com.zq.it.pojo.exam;

import com.zq.it.pojo.Student;

/**
 * TExam entity. @author MyEclipse Persistence Tools
 */

public class TExam implements java.io.Serializable {

	// Fields

	private long id;
	private TQuestions TQuestions;
	private Student Student;
	private TPaper TPaper;
	private String SAnwser;
	private Integer score;
	private Integer QType;
	private String extendField;

	// Constructors

	/** default constructor */
	public TExam() {
	}

	/** minimal constructor */
	public TExam(TQuestions TQuestions, Student Student, TPaper TPaper) {
		this.TQuestions = TQuestions;
		this.Student = Student;
		this.TPaper = TPaper;
	}

	/** full constructor */
	public TExam(TQuestions TQuestions, Student Student, TPaper TPaper,
			String SAnwser, Integer score, Integer QType, String extendField) {
		this.TQuestions = TQuestions;
		this.Student = Student;
		this.TPaper = TPaper;
		this.SAnwser = SAnwser;
		this.score = score;
		this.QType = QType;
		this.extendField = extendField;
	}

	// Property accessors

	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public TQuestions getTQuestions() {
		return this.TQuestions;
	}

	public void setTQuestions(TQuestions TQuestions) {
		this.TQuestions = TQuestions;
	}

	public Student getStudent() {
		return this.Student;
	}

	public void setStudent(Student Student) {
		this.Student = Student;
	}

	public TPaper getTPaper() {
		return this.TPaper;
	}

	public void setTPaper(TPaper TPaper) {
		this.TPaper = TPaper;
	}

	public String getSAnwser() {
		return this.SAnwser;
	}

	public void setSAnwser(String SAnwser) {
		this.SAnwser = SAnwser;
	}

	public Integer getScore() {
		return this.score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Integer getQType() {
		return this.QType;
	}

	public void setQType(Integer QType) {
		this.QType = QType;
	}

	public String getExtendField() {
		return this.extendField;
	}

	public void setExtendField(String extendField) {
		this.extendField = extendField;
	}

}